package com.woniuxy.his.entity;

import com.baomidou.mybatisplus.annotation.TableName;
import com.baomidou.mybatisplus.annotation.IdType;
import java.util.Date;
import com.baomidou.mybatisplus.annotation.TableId;
import java.io.Serializable;
import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.experimental.Accessors;

/**
 * <p>
 * 处方详情表
 * </p>
 *
 * @author Lucas
 * @since 2021-08-24
 */
@Data
@EqualsAndHashCode(callSuper = false)
@Accessors(chain = true)
@TableName("his_pres_detail")
public class PresDetail implements Serializable {

    private static final long serialVersionUID=1L;

    @TableId(value = "prescription_detail_id", type = IdType.AUTO)
    private Integer prescriptionDetailId;

    /**
     * 药品ID
     */
    private Integer medicineId;

    /**
     * 数量
     */
    private Integer medicineNum;

    /**
     * 处方ID
     */
    private Integer prescriptionId;

    /**
     * 记录写下时间
     */
    private Date detailAddTime;

    /**
     * 记录更新时间
     */
    private Date detailUpdateTime;


}
